package com.intellagric.service.iftmonitor.ift_network;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.IftNetwork;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/23
 * @DESC： 网络信息服务接口
 */
public interface NetWorkService {

    //增加设备
    ResponseMessage addNetWork(IftNetwork network);

    //删除设备
    ResponseMessage deleteNetWork(String id);

    //修改设备
    ResponseMessage editNetWork(IftNetwork network);

    //查询设备
    IftNetwork getNetWorkById(String id);
    LayuiDataGridResult getNetWorkByequipmentId(String id);
    LayuiDataGridResult getNetWorkList();
    LayuiDataGridResult getNetWorkPage(int page, int rows);

}
